.index{
    margin-left: 5px;
    width: 100%;
    height: auto;
    /* border: 2px solid ; */
    /* background-color: #f7f7f7; */
}
.header{
    width: 100%;
    height: 110px;
    display: flex;
    flex-wrap: wrap;
    cursor: pointer;
}
.header>.header_top{
    width: 100%;
    height: 30px;
    display: flex;
    line-height: 30px;
    background-color: #f7f7f7;
}
.header_top>div{
    width: 100px;
    height: 60%;
    text-align: center;
    /* border: 2px solid ; */
    line-height: 30px;
    font-size: 12px;
}
/* 会员登录 */
.header_top>div:nth-child(1){
    margin-left: auto;
}
/* 会员登录 */
.username{
    font-weight: bold;
}
.username:hover{
    color: dodgerblue;
}

.loginOut:hover{
    color: #ccc;
}
.header>.header_center{
    width: 100%;
    height: 80px;
    /* border: 2px solid ; */
    display: flex;
}
.header_center>div{
    width: 150px;
    height: 100%;
    line-height: 80px;
    font-size: 18px;
}
.header_center>div:nth-child(n+2):hover{
    transition: all 1s;
    color: #ccc;
}
.header_center>div:nth-child(1){
    width: 37%;
    font-size: 30px;
    color: gray;
    text-align: center;
}
.banners{
    position: relative;
    width: 100%;
    height: auto;
    /* border: 2px solid green; */
}
.main{
    /* position: absolute; */
    /* top: 110px; */
    width: 100%;
    height: auto;
    padding-bottom: 40px;
    /* border: 2px solid ; */
    z-index: 100;
    cursor: pointer;
}
/*  */
.box{
    position: absolute;
    top: 20px;
    width: 100%;
    height: auto;
}
/* 搜索框 */
.box>.search{
    margin-left: auto;
    margin-right: calc(50% - 250px);
    margin-top: 200px;
    width: 500px;
    height: 40px;
    text-align: center;
    /* border: 2px solid red; */
}
/* 我要租车容器盒子 */
.box>.showBox{
    margin-top: 80px;
    width: 70%;
    height: 200px;
    background-color: white;
    border-radius: 10px;
    margin-left: 15%;
    box-shadow: 0 0 4px gray;

}
/* 我要租车 */
.showBox>div:nth-child(1){
    width: 100%;
    height: 50px;
    line-height: 70px;
    font-size: 20px;
    font-weight: bold;
    color: gray;
    text-align: left;
    text-indent: 20px;
    /* border: 1px solid ; */
}
/* 车标容器盒子 */
.showBox>:nth-child(2){
    transition: all .5s;
    margin-top: 10px;
    width: 100%;
    height: 80px;
    display: flex;
    /* border: 2px solid ; */
}
/* 车标img */
.showBox>div:nth-child(2)>img{
    width: 70px;
    height: 60px;
    margin:0px 26px;
    /* margin-left: 22px; */
    /* margin-right: 20px; */
    object-fit: contain;
    /* border: 2px solid ; */
}
/* 车名盒子 */
.showBox>div:nth-child(3){
    width: 100%;
    height: 40px;
    display: flex;
    text-align: left;
    /* border: 2px solid ; */
}
/* 车名 */
.showBox>div:nth-child(3)>div{
    width: 70px;
    height: 20px;
    margin:0px 26px;
    /* border: 2px solid transparent; */
    text-align: center;
}
/* 中间部分 */
.main_center{
    padding: 10px 20px;
    width: 100%;
    height: auto;
    /* border: 2px solid red; */
}
/* 标题 */
.title{
    width: 100%;
    height: 80px;
    line-height: 80px;
    font-size: 25px;
    font-weight: bold;
    color: gray;
    text-align: left;
    text-indent: 20px;
    margin-left: 80px;
    /* border: 1px solid ; */
}
/* 新车上架 */
.main_center>.newCarBox{
    width: 90%;
    height: auto;
    margin-left: 5%;
    display: flex;
    flex-wrap: wrap;
}
/* 每个新车 */
.newCarBox>.newCar{
    width: 18%;
    height: 300px;
    border-radius: 10px;
    margin: 20px 40px;
}
.newCar>div:nth-child(1){
    width: 100%;
    height: 60%;
}
.newCar>div:nth-child(1):hover >img{
    transform: scale(1.2);
    border-radius: 10px;
    box-shadow: 10px 0px 10px #ccc;
}
/* 新车图片 */
.newCar>div:nth-child(1)>img{
    transition: 0.5s;
    width: 100%;
    height: 100%;
    border-radius: 3px;
}
/* 新车信息 */
.newCar>.newCarMess{
    width: 100%;
    height: 40%;
    /* box-shadow: 0 0 4px gray; */
    display: flex;
    flex-wrap: wrap;
    line-height: 40px;
    font-size: 13px;
    text-align: left;
}
/* 两个部分 */
.newCarMess>div{
    width: 100%;
    height: 50%;
}



 /* 新闻资讯 */
 .main_center>.news{
    width: 90%;
    height: auto;
    margin-left: 5%;
    box-shadow: 0 0 4px #ccc;
    border-radius: 10px;
    padding: 20px;
    text-indent: 40px;
    color: rgb(83, 81, 81);
    font-size: 20px;
    letter-spacing: 3px;
    background-color: #f7f7f79e;
    cursor: pointer;
    /* border: 2px solid red; */
}
.news>div{
    background-color: white;
    width: 100%;
    height: 40px;
    line-height: 40px;
    display: flex;
    font-size: 15px;
    /* border: 2px solid ; */
}
.news>div:nth-child(2n){
    background-color: #f5f1f140;
    color: gray;
    border-radius: 3px;
}
.text{
    width: 70%;
    line-height: 40px;
    overflow:hidden; 
    text-overflow:ellipsis;
    white-space:nowrap;
    /* border: 2px solid ; */
}
.text:hover{
    color: dodgerblue;
}
.time{
    width: auto;
    height: 100%;
    margin-left: auto;
    margin-right: 10px;
    font-size: 15px;
    color: gray;
    line-height: 40px;
    /* border: 2px solid ; */
}
.time:hover{
    color: coral;
}

/* 底部 */
.footer{
    width: 100%;
    height: 300px;
    background-color: rgba(8, 26, 34, 0.7);
    display: flex;
    color: #ccc;
}
.footer_left{
    width: 30%;
    height: 100%;
}
.footer_left>div{
    width: 100%;
    height: 30px;
}
.footer_center{
    width: 40%;
    height: 50%;
    display: flex;
    flex-wrap: wrap;
}
.footer_center>div{
    padding-top: 50px;
    width: 20%;
    color: white;
}


/* icon区 */
.el-carousel__item h3 {
    display: flex;
    color: #475669;
    opacity: 0.75;
    line-height: 300px;
    margin: 0;
  }
 
  
  .el-carousel__item:nth-child(2n) {
    background-color: #99a9bf;
  }
  
  .el-carousel__item:nth-child(2n + 1) {
    background-color: #d3dce6;
  }